﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TAC
{
	static class ID
	{
		public const int
			STRENGHT = 0, DEXTERITY = 1, CONSTITUTION = 2, INTELLIGENCE = 3,
			PROTECTION = 4, HEALTH = 5, SPEED = 6, DAMAGE = 7,
			EXPERIENCE = 8, TOTAL_POINTS = 9,
			NUMBER_OF_ATTRIBUTES = 10,
			DEFENSE = 0,
			NUMBER_OF_STATUS = 1;
	}

	interface Character
	{
		int getAttribute(int id);
		Character getAttackedBy();
        int getX();
        int getY();
		void setAttribute(int id, int value);
		void setAttackedBy(Character opponent);
		void setX(int i);
		void setY(int j);
		int rollInitiative();
		int rollAttack(int id);
		int rollDodge();
		void BasicAttack(ref Character opponent);
		void SpecialAttack(ref Character opponent);
		void Defense();
		void Heal(int xp);
		//void Move();
		//void Push(ref Character opponent);
		void takeDamage(int damage);
		bool isDead();
	}
}
